﻿using System.Windows.Media;

namespace Red.Toolkit.Profiler.Logic
{
    public class Bookmark
    {
        private string _name;
        private double _time;
        private Brush _brush;
        private Pen _pen;

        public Bookmark( string name, double time )
        {
            _time = time;
            _name = name;

            Color color = Utils.RandomColor( 0.2, 1.0, 0.5, 1.0 );
            _brush = new SolidColorBrush( color );
            _pen = new Pen( _brush, 1.5 );
        }

        public string Name { get { return _name; } }
        public double Time { get { return _time; } }
        public Brush Brush { get { return _brush; } }
        public Pen Pen { get { return _pen; } }
    }
}
